def main():
    n = []
    for i in range(3):
        n.append(input())

    print(max(n))


main()
